import { navto } from "../common/func"
import login from "./login.js"
export default (callBack = () => {}) => {
	uni.getStorage({
		key: "token",
		success: () => {
			callBack()
		},
		fail: () => {
			login()
		}
	})
}
